package com.lp.yuojbackendjudgeservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@SpringBootApplication
@EnableScheduling
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@ComponentScan("com.lp")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.lp.yuojbackendserviceclient.service"})
@EnableRedisHttpSession
public class YuojBackendJudgeServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(YuojBackendJudgeServiceApplication.class, args);
    }

}
